package org.pzy.java.proxy.jdk;

import org.pzy.java.proxy.SmsService;
import org.pzy.java.proxy.SmsServiceImpl;

/**
 * @Author: DRevelation
 * @Date: 2022/2/23 10:49
 */
public class Main {
    public static void main(String[] args) {
        SmsService smsService = (SmsService) JdkProxyFactory.getProxy(new SmsServiceImpl());
        smsService.send("Java");
    }
}
